<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="Department, App_Web_irvafolg" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style4
        {
            font-family: Verdana;
            font-size: 8pt;
        }
        .style6
        {
            width: 915px;
            color: #FFFFFF;
        }
        .style10
        {
            height: 26px;
            width: 282px;
            font-family: Verdana;
            font-size: 8pt;
        }
        .style13
        {
            height: 26px;
        }
        .style14
        {
            height: 27px;
            width: 906px;
            font-size: 8pt;
            color: #FFFFFF;
        }
        .style16
        {
            width: 286px;
        }
        .style17
        {
        }
        .style18
        {
            font-family: Verdana;
        }
        .style19
        {
            font-family: Verdana;
            font-size: 9pt;
        }
        .style20
        {
            width: 294px;
        }
        .style21
        {
            width: 282px;
        }
         .card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
      margin-top: -37px;
    padding: 7px !important;
}
#MainContent_lblDepartmentName
{
    font-size:14px;
    font-weight:bold;
}
#MainContent_lblDepartmentHeadEmailAddress
{
       font-size:14px;
    font-weight:bold; 
}
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <script type="text/javascript">

        function validate() {
            var txttext = document.getElementById("<%= txtdept.ClientID %>").value;
            if (txttext == "") {
                alert("Please Enter Department Name");
                document.getElementById("<%= txtdept.ClientID %>").focus();
                return false;
            }
            return true;
        }
   
</script>
    
         

               <div class="main-panel">
        <div class="content">
        <div class="container" id="department" runat="server">
            <div class="row dash-pane2">
            
            <div class="card">
                <div class="card-header card-header-warning" id="cardheadergreen" runat="server">
                  <h4 class="card-title"><i class="fa fa-list fa-fw"></i> <asp:Label ID="lblDepartmentDetails" runat="server" Text="Department Details"></asp:Label></h4>
                </div>
                <div class="card-body">
                 <div class="row">
                        		 <div class="col-md-12">
							 <b><asp:Label ID="lblDepartmentName" runat="server" Text="Department Name"></asp:Label></b>
							  <%--  <textarea class="form-control" rows="3"></textarea>--%>

                                <asp:TextBox ID="txtdept" runat="server" class="form-control"  rows="3"
                TabIndex="1"  ></asp:TextBox>

							  </div>
							  <div class="col-md-12" style="margin-top:10px;">
							   <b><asp:Label ID="lblDepartmentHeadEmailAddress" runat="server" Text="Department Head Email Address"></asp:Label></b>
							   <%-- <input class="form-control"/>--%>
                               <asp:TextBox ID="txtdeptdesc" runat="server" class="form-control"
                    TabIndex="2"></asp:TextBox>

							  </div>
                 </div>
                 <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:200px;">
                    <asp:Button ID="cmdsave" runat="server" Text="Save"  OnClick="cmdsave_Click" onclientclick="return validate()"
        type="button" class="btn btn-success " /><i class="fa fa-plus;"></i>&nbsp;&nbsp;&nbsp;
        <asp:Button ID="cmdcancel" runat="server" type="button" Text="Cancel" onclick="cmdcancel_Click" 
           class="btn btn-danger"
           /><i  class="fa fa-trash-o;"></i>
                 </div>
                </div>
              </div>	
					
				</div>

                </div>
                </div>
                </div>
                 <script src="js/jquery-1.8.3.min.js"
       type="text/javascript"></script>

</asp:Content>
